package com.admin.business.venueProjectLifeService;

import com.tiangong.framework.bo.CDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @description: 系统用户表
 * @create: 2022-03-22 18:46:06
 **/
@Mapper
public interface VenueProjectLifeServiceDao {
    /**
     * 添加商户表数据
     */
    void venueProjectLifeServiceAdd(CDO cdo);

    void venueProjectLifeServiceUpdate(CDO cdo);

    CDO getVenueProjectLifeService(CDO cdo);

    List<CDO> getVenueProjectLifeServiceList(CDO cdo);

    List<CDO> getVenueProjectLifeServiceListByP(CDO cdo);

    void venueProjectLifeServiceDelete(CDO cdo);

    List<CDO> selectAllCommercialByServiceId(CDO cdo);

    /**
     * 获取所有一级类别
     * @param cdo
     * @return
     */
    List<CDO> selectAllParentServiceCategory(CDO cdo);

    /**
     * 通过服务类别父id找到该父id下所有子服务类别
     * @param parent_id
     * @return
     */
    List<CDO> selectAllChildrenServiceCategory(String parent_id);
}
